import { Injectable, Pipe ,PipeTransform } from '@angular/core';

@Pipe({
  name: 'getDay'
})
@Injectable()
export class GetDay implements PipeTransform{
  constructor(){}

  transform(param) {
    if(param!=undefined){
      param=param+"";
      return param.substring(6,8);
    }else{
      return "";
    }
  }
}
